package com.qmq.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author modify
 */
@Data
@TableName("t_memorandum")
public class Memorandum {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("title")
    private String title;

    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @TableField("remind_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date remindTime;

    @TableField("content")
    private String content;

    @TableField("device_model")
    private String deviceModel;

    @TableField("device_brand")
    private String deviceBrand;

    @TableField("device_type")
    private String deviceType;

    @TableField("device_system")
    private String deviceSystem;
}
